<template>
  <div id="app">
    <router-view></router-view>
    <w-loading :is-show="isLoading" :full-page="true">加载中...</w-loading>
  </div>
</template>

<script>
export default {
  name: 'app',
  data() {
    return {
    }
  },
  computed: {
    isLoading() {
      return this.$store.state.common.loading;
    }
  }
}

</script>

<style lang="scss">
@import './assets/css/main.scss';
html {
  width: 100%;
  height: 100%;
}
body {
  background-color: #fff;
  font-family: PingFangSC-Regular;
  color: #666666;
  overflow-x: hidden;
  overflow-y: auto;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  p,h6 {
    margin: 0;
    padding: 0;
  }
  input {
    font-size: 14px;
  }
  select {
    outline: none;
  }
}
#app {
  height: 100%;
}

/*组件中部分样式重写*/
#login-page,#case-search-page,#regist-page { 
   .wui-field-input {
      background: #f2f2f2 !important;
      color: #9a9a9a !important;
    }
}

</style>

